snort3: remove gperftools dep for mips* and powerpc
authorJohn Audia <[email protected]>
Thu, 17 Jul 2025 22:11:16 +0000 (18:11 -0400)
committerJosef Schlehofer <[email protected]>
Fri, 18 Jul 2025 10:29:11 +0000 (12:29 +0200)
Add conditional to disable gperftools-runtime depends for powerpc and mips due to inability
to compile introduced with 7345b73c3094e2aa2e085954a584ab15a9e3b939

Co-authored-by: Josef Schlehofer <[email protected]>
Signed-off-by: John Audia <[email protected]>
net/snort3/Makefile

index d9202e1abbe8905926f52c4262c5c4d27b95b30d..701928feff78d09c2b8351d00184e2b27395aa4d 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=snort3
 PKG_VERSION:=3.9.1.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=$(PKG_VERSION)
@@ -27,8 +27,9 @@ define Package/snort3
   SECTION:=net
   CATEGORY:=Network
   DEPENDS:= \
+           +@!(TARGET_powerpc||TARGET_mips||TARGET_mips64||TARGET_mipsel):gperftools-runtime \
            +(TARGET_x86||TARGET_x86_64):hyperscan-runtime \
-           +gperftools-runtime +libstdcpp +libdaq3 +libdnet +libopenssl +libpcap +libpcre2 \
+           +libstdcpp +libdaq3 +libdnet +libopenssl +libpcap +libpcre2 \
            +libpthread +libuuid +zlib +libhwloc +libtirpc @HAS_LUAJIT_ARCH +luajit +libatomic \
            +kmod-nft-queue +liblzma +ucode +ucode-mod-fs +ucode-mod-uci
   TITLE:=Lightweight Network Intrusion Detection System